package com.dormitory.management.system.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
     * <p>
     * 门禁表
     * </p>
     *
     * @author zhangchengming
     * @since 2021-12-17
     */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Access对象", description="门禁表")
public class AccessPageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页",required = true)
    private int pageCurrent=1;

    @ApiModelProperty(value = "每页记录数",required = true)
    private int pageSize=10;

    @ApiModelProperty(value = "门禁闸机")
    private String device;

    @ApiModelProperty(value = "学号")
    private String stuId;

    @ApiModelProperty(value = "学生姓名")
    private String name;

    @ApiModelProperty(value = "宿舍号")
    private int room;

    @ApiModelProperty(value = "起始时间")
    private Date gmtModifiedEarliest;

    @ApiModelProperty(value = "结束时间")
    private Date gmtModifiedLatest;

    @ApiModelProperty(value = "当前用户",required = true)
    private String username;

}
